Method and apparatus for automatically detecting malignancy-associated changes

ABSTRACT

A method for detecting malignancy-associated changes. A sample of cells is obtained and stained to identify the nuclear DNA material. The sample is imaged with a digital microscope. Objects of interest are identified in the sample of cells based on the intensity of the pixels that comprise the object versus the average intensity of all pixels in the slide image. An exact edge is located for each object and variations in the illumination intensity of the microscope are compensated for. A computer system calculates feature values for each object and, based on the value of the features, a determination is made whether the cell exhibits malignancy-associated changes or not.

RELATED APPLICATIONS

The present application is a continuation-in-part of our previous application Ser. No. 08/425,257 filed Apr. 17, 1995, now abandoned, which was a continuation of Ser. No. 08/182,453 filed Jan. 10, 1994, now abandoned, which was a continuation-in-part of Ser. No. 07/961,596 filed Oct. 14, 1992, now abandoned, the disclosures of which are incorporated by reference. The benefit of the filing dates of the previous applications are claimed under 35 U.S.C. §120.

FIELD OF THE INVENTION

The present invention relates to image cytometry systems in general, and in particular to automated systems for detecting malignancy-associated changes in cell nuclei.

BACKGROUND OF THE INVENTION

The most common method of diagnosing cancer in patients is by obtaining a sample of the suspect tissue and examining it under a microscope for the presence of obviously malignant cells. While this process is relatively easy when the location of the suspect tissue is known, it is not so easy when there is no readily identifiable tumor or pre-cancerous lesion. For example, to detect the presence of lung cancer from a sputum sample requires one or more relatively rare cancer cells to be present in the sample. Therefore patients having lung cancer may not be diagnosed properly if the sample does not accurately reflect the conditions of the lung.

Malignancy-associated changes (MACs) are subtle changes that are known to take place in the nuclei of apparently normal cells found near cancer tissue. In addition, MACs have been detected in tissue found near pre-cancerous lesions. Because the cells exhibiting MACs are more numerous than the malignant cells, MACs offer an additional way of diagnosing the presence of cancer, especially in cases where no cancerous cells can be located.

Despite the ability of researchers to detect MACs in patients known to have cancer or a pre-cancerous condition, MACs have not yet achieved wide acceptance as a screening tool to determine whether a patient has or will develop cancer. Traditionally, MACs have been detected by carefully selecting a cell sample from a location near a tumor or pre-cancerous lesion and viewing the cells under relatively high magnification. However, it is believed that the malignancy-associated changes that take place in the cells are too subtle to be reliably detected by a human pathologist working with conventional microscopic equipment, especially when the pathologist does not know beforehand if the patient has cancer or not. For example, a malignancy-associated change may be indicated by the distribution of DNA within the nucleus coupled with slight variations in the shape of the nucleus edge. However, nuclei from normal cells may exhibit similar types of changes but not to the degree that would signify a MAC. Because human operators cannot easily quantify such subtle cell changes, it is difficult to determine which cells exhibit MACs. Furthermore, the changes which indicate a MAC may vary between different types of cancer, thereby increasing the difficulty of detecting them.

SUMMARY OF THE INVENTION

The present invention is a system for automatically detecting malignancy-associated changes in cell samples. The system includes a digital microscope having a CCD camera that is controlled by and interfaced with a computer system. Images captured by the digital microscope are stored in an image processing board and manipulated by the computer system to detect the presence of malignancy-associated changes (MACs). At the present state of the art, it is believed that any detection of MACs requires images to be captured at a high spatial resolution, a high photometric resolution, that all information coming from the nucleus is in focus, that all information belongs to the nucleus (rather than some background), and that there is an accurate and reproducible segmentation of the nucleus and nuclear material. Each of these steps is described in detail below.

To detect the malignancy-associated changes, a cell sample is obtained and stained to identify the nuclear material of the cells and is imaged by the microscope. The stain is stoichiometric and specific to DNA only. The computer system then analyzes the image to compute a histogram of all pixels comprising the image. First, an intensity threshold is set that divides the background pixels from those comprising the objects in the image. All pixels having an intensity value less than the threshold are identified as possible objects of interest while those having an intensity value greater than the threshold are identified as background and are ignored.

For each object located, the computer system calculates the area, shape and optical density of the object. Those objects that could not possibly be cell nuclei are ignored. Next, the image is decalibrated, i.e., corrected by subtracting an empty frame captured before the scanning of the slide from the current frame and adding back an offset value equal to the average background light level. This process corrects for any shading of the system, uneven illumination, and other imperfections of the image acquisition system. Following decalibration, the images of all remaining objects must be captured in a more precise focus. This is achieved by moving the microscope in the stage z-direction in multiple focal planes around the approximate frame focus. For each surviving object a contrast function (a texture feature) is calculated. The contrast function has a peak value at the exact focus of the object. Only the image at the highest contrast value is retained in the computer memory and any object which did not reach such a peak value is also discarded from further considerations.

Each remaining in-focus object on the image is further compensated for local absorbency of the materials surrounding the object. This is a local decalibration which is similar to that described for the frame decalibration described above, except that only a small subset of pixels having an area equal to the area of a square into which the object will fit is corrected using an equivalent square of the empty frame.

After all images are corrected with the local decalibration procedure, the edge of the object is calculated, i.e., the boundary which determines which pixels in the square belong to the object and which belong to the background. The edge determination is achieved by the edge-relocation algorithm. In this process, the edge of the original mask of the first contoured frame of each surviving object is dilated for several pixels inward and outward. For every pixel in this frame a gradient value is calculated, i.e., the sum and difference between all neighbor pixels touching the pixel in question. Then the lowest gradient value pixel is removed from the rim, subject to the condition that the rim is not ruptured. The process continues until such time as a single pixel rim remains. To ensure that the proper edge of an object is located, this edge may be again dilated as before, and the process repeated until such time as the new edge is identical to the previous edge. In this way the edge is calculated along the highest local gradient.

The computer system then calculates a set of feature values for each object. For some feature calculations the edge along the highest gradient value is corrected by either dilating the edge by one or more pixels or eroding the edge by one or more pixels. This is done such that each feature achieves a greater discriminating power between classes of objects and is thus object specific. These feature values are then analyzed by a classifier that uses the feature values to determine whether the object is an artifact or is a cell nucleus. If the object appears to be a cell nucleus, then the feature values are further analyzed by the classifier to determine whether the nucleus exhibits malignancy-associated changes. Based on the number of objects found in the sample that appear to have malignancy-associated changes and/or an overall malignancy-associated score, a determination can be made whether the patient from whom the cell sample was obtained is healthy or harbors a malignant growth.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:

FIG. 1 is a block diagram of the MAC detection system according to the present invention;

FIGS. 2A-2C are a series of flow charts showing the steps performed by the present invention to detect MACs;

FIG. 3 is an illustrative example of a histogram used to separate objects of interest from the background of a slide;

FIG. 4 is a flow chart of the preferred staining procedure used to prepare a cell sample for the detection of MACs;

FIGS. 5 and 6 are illustrations of objects located in an image;

FIGS. 7A-7F illustrate how the present invention operates to locate the edge of an object;

FIGS. 8 and 9 are diagrammatic illustrations of a classifier that separates artifacts from cell nuclei and MAC nuclei from non-MAC nuclei; and

FIG. 10 is a flow chart of the steps performed by the present invention to determine whether a patient is normal or abnormal based on the presence of MACs.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

As described above, the present invention is a system for automatically detecting malignancy-associated changes (MACs) in the nuclei of cells obtained from a patient. From the presence or absence of MACs, a determination can be made whether the patient has a malignant cancer.

A block diagram of the MAC detection system according to the present invention is shown in FIG. 1. The system 10 includes a digital microscope 12 that is controlled by and interfaced with a computer system 30. The microscope 12 preferably has a digital CCD camera 14 employing a scientific CCD having square pixels of approximately 0.3 μm by 0.3 μm size. The scientific CCD has a 100% fill factor and at least a 256 gray level resolution. The CCD camera is preferably mounted in the primary image plane of a planar objective lens 22 of the microscope 12.

A cell sample is placed on a motorized stage 20 of the microscope whose position is controlled by the computer system 30. The motorized stage preferably has an automatic slide loader so that the process of analyzing slides can be completely automated.

A stable light source 18, preferably with feedback control, illuminates the cell sample while an image of the slide is being captured by the CCD camera. The lens 22 placed between the sample 16 and the CCD camera 14 is preferably a 20×/0.75 objective that provides a depth of field in the range of 1-2 μm that yields a distortion-free image. In the present embodiment of the invention, the digital CCD camera 14 used is the Microimager™ produced by Xillix Technologies Corp. of Richmond, B.C., Canada.

The images produced by the CCD camera are received by an image processing board 32 that serves as the interface between the digital camera 14 and the computer system 30. The digital images are stored in the image processing board and manipulated to facilitate the detection of MACs. The image processing board creates a set of analog video signals from the digital image and feeds the video signals to an image monitor 36 in order to display an image of the objects viewed by the microscope.

The computer system 30 also includes one or more input devices 38, such as a keyboard and mouse, as well as one or more peripherals 42, such as a mass digital storage device, a modem or a network card for communicating with a remotely located computer, and a monitor 40.

FIGS. 2A-2C show the steps performed by the system of the present invention to determine whether a sample exhibits MACs or not. Beginning with a step 50, a cell sample is obtained. Cells may be obtained by any number of conventional methods such as biopsy, scraping, etc. The cells are affixed to a slide and stained using a modified Feulgen procedure at a step 52 that identifies the nuclear DNA in the sample. The details of the staining procedure are shown in FIG. 4 and described in detail below.

At step 54, an image of a frame from the slide is captured by the CCD camera and is transferred into the image processor. In this process, the CCD sensor within the camera is cleared and a shutter of the camera is opened for a fixed period that is dependent on the intensity of the light source 18. After the image is optimized according to the steps described below, the stage then moves to a new position on the slide such that another image of the new frame can be captured by the camera and transferred into the computer memory. Because the cell sample on the slide occupies a much greater area than the area viewed by the microscope, a number of slide images are used to determine whether the sample is MAC-positive or negative. The position of each captured image on the slide is recorded in the computer system so that the objects of interest in the image can be found on the slide if desired.

Once an image from the slide is captured by the CCD camera and stored in the image processing board, the computer system determines whether the image produced by the CCD camera is devoid of objects. This is performed by scanning the digital image for dark pixels. If the number of dark pixels, i.e., those pixels having an intensity of the background intensity minus a predetermined offset value, is fewer than a predetermined minimum, the computer system assumes that the image is blank and the microscope stage is moved to a new position at step 60 and a new image is captured at step 54.

If the image is not blank, then the computer system attempts to globally focus the image. In general, when the image is in focus, the objects of interest in the image have a maximum darkness. Therefore, for focus determination the height of the stage is adjusted and a new image is captured. The darkness of the object pixels is determined and the process repeats until the average darkness of the pixels in the image is a maximum. At this point, the computer system assumes that global focus has been obtained.

After performing the rough, global focus at step 62, the computer system computes a histogram of all pixels. As shown in FIG. 3, a histogram is a plot of the number of pixels at each intensity level. In the Microimager™-based microscope system, each pixel can have an intensity ranging from 0 (maximum darkness) to 255 (maximum brightness). The histogram typically contains a first peak 90 that represents the average intensity of the background pixels. A second, smaller peak 92 represents the average intensity of the pixels that comprise the objects. By calculating a threshold 94 that lies between the peaks 90 and 92, it is possible to crudely separate the objects of interest in the image from the background.

Returning to FIG. 2B, the computer system computes the threshold that separates objects in the image from the background at step 68. At a step 72, all pixels in the cell image having an intensity less than the threshold value are identified. The results of step 72 are shown in FIG. 5. The frame image 200 contains numerous objects of interest 202, 204, 206 . . . 226. Some of these objects are cell nuclei, which will be analyzed for the presence of MACs, while other objects are artifacts such as debris, dirt particles, white blood cells, etc., and should be removed from the cell image.

Returning to FIG. 2B, once the objects in the image have been identified, the computer system calculates the area, shape (sphericity) and optical density of each object according to formulas that are described in further detail below. At a step 76, the computer system removes from memory any objects that cannot be cell nuclei. In the present embodiment of the invention those objects that are not possibly cell nuclei are identified as having an area greater than 2,000 μm², an optical density less than 1 c (i.e., less that 1/2 of the overall chromosome count of a normal individual) or a shape or sphericity greater than 4.

The results of step 76 are shown in FIG. 6 where only a few of the previously identified objects of interest remain. Each of the remaining objects is more likely to be a cell nuclei that is to be examined for a malignancy-associated change.

Again returning to FIG. 2B, after removing each of the objects that could not be a cell nucleus, the computer system determines whether there are any objects remaining by scanning for dark pixels at step 78. If no objects remain, the computer system returns to step 54, a new image on the slide is captured and steps 54-76 are repeated.

If there are objects remaining in the image after the first attempt at removing artifacts at step 76, the computer system then compensates the image for variations in illumination intensity at step 80. To do this, the computer system recalls a calibration image that was obtained by scanning in a blank slide for the same exposure time that was used for the image of the cells under consideration. The computer system then begins a pixel-by-pixel subtraction of the intensity values of the pixels in the calibration image obtained from the blank slide from the corresponding pixels found in the image obtained from the cell sample. The computer system then adds a value equal to the average illumination of the pixels in the calibration image obtained from the blank slide to each pixel of the cell image. The result of the addition illuminates the cell image with a uniform intensity.

Once the variations in illumination intensity have been corrected, the computer system attempts to refine the focus of each object of interest in the image at step 82 (FIG. 2C). The optimum focus is obtained when the object has a minimum size and maximum darkness. The computer system therefore causes the stage to move a predefined amount above the global focus position and then moves in a sequence of descending positions. At each position the CCD camera captures an image of the frame and calculates the area and the intensity of the pixels comprising the remaining objects. Only one image of each object is eventually stored in the computer memory coming from the position in which the pixels comprising the object have the maximum darkness and occupy a minimum area. If the optimum focus is not obtained after a predetermined number of stage positions, then the object is removed from the computer memory and is ignored. Once the optimum focus of the object is determined, the image received from the CCD camera overwrites those pixels that comprise the object under consideration in the computer's memory. The result of the local focusing produces a pseudo-focused image in the computer's memory whereby each object of interest is ultimately recorded at its best possible focus.

At a step 84, the computer system determines whether any in-focus objects in the cell image were found. If not, the computer system returns to step 54 shown in FIG. 2A whereby the slide is moved to another position and a new image is captured.

Once an image of the object has been focused, the computer system then compensates for local absorbency of light near the object at a step 85. To do this, the computer system analyzes a number of pixels within a box having an area that is larger than the object by two pixels on all sides. An example of such a box is the box 207 shown in FIG. 6. The computer system then performs a pixel-by-pixel subtraction of the intensity values from a corresponding square in the calibration image obtained from the blank slide. Next the average illumination intensity of the calibration image is added to each pixel in the box surrounding the object. Then the average intensity value for those pixels that are in the box but are not part of the object is determined and this local average value is then subtracted from each pixel in the box that encloses the object.

Once the compensation for absorbency around the object has been made, the computer system then determines a more precise edge of each remaining object in the cell image at step 86. The steps required to compute the edge are discussed in further detail below.

Having compensated for local absorbency and located the precise edge of the object, the computer system calculates a set of features for each remaining object at a step 87. These feature values are used to further separate artifacts from cell nuclei as well as to identify nuclei exhibiting MACs. The details of the feature calculation are described below.

At a step 88, the computer system runs a classifier that compares the feature values calculated for each object and determines whether the object is an artifact and, if not, whether the object is a nucleus that exhibits MACs.

At a step 90, the pseudo-focus digital image, the feature calculations and the results of the classifier for each in-focus object are stored in the computer's memory.

Finally, at a step 92, the computer system determines whether further scans of the slide are required. As indicated above, because the size of each cell image is much less than the size of the entire slide, a number of cell images are captured to ensure that the slide has been adequately analyzed. Once a sufficient number of cell images have been analyzed, processing stops at step 94. Alternatively, if further scans are required, the computer system loops back to step 54 and a new image of the cell sample is captured.

As indicated above, before the sample can be imaged by the digital microscope, the sample is stained to identify the nuclear material.

FIG. 4 is a flow chart of the steps used to stain the cell samples. Beginning at a step 100, the cell sample is placed on a slide, air dried and then soaked in a 50% glycerol solution for four minutes. The cell is then washed in distilled water for two minutes at a step 102. At a step 104, the sample is bathed in a 50% ethanol solution for two minutes and again washed with distilled water for two minutes at a step 106. The sample is then soaked in a Bohm-Springer solution for 30 minutes at a step 108 followed by washing with distilled water for one minute at a step 110. At step 112, the sample is soaked in a 5N HCl solution for 45 minutes and rinsed with distilled water for one minute at a step 114. The sample is then stained in a thionine stain for 60 minutes at a step 116 and rinsed with distilled water for one minute at a step 118.

At step 120, the sample is soaked in a bisulfite solution for six minutes followed by a rinse for one minute with distilled water at a step 122. Next, the sample is dehydrated in solutions of 50%, 75% and 100% ethanol for approximately 10 seconds each at a step 124. The sample is then soaked in a final bath of xylene for one minute at a step 126 before a cover slip is applied at a step 128. After the cell sample has been prepared, it is ready to be imaged by the digital microscope and analyzed as described above.

FIGS. 7A-7F illustrate the manner in which the present invention calculates the precise edge of an object. As shown in FIG. 7A, an object 230 is comprised of those pixels having an intensity value less than the background/object threshold which is calculated from the histogram and described above. In order to calculate the precise edge, the pixels lying at the original edge of the object are dilated to form a new edge region 242. A second band of pixels lying inside the original edge are also selected to form a second edge region 244. The computer system then assumes that the true edge is somewhere within the annular ring bounded by the edge regions 242 and 244. In the presently preferred embodiment of the invention, the annular ring has a width of approximately ten pixels. To determine the edge, the computer calculates a gradient for each pixel contained in the annular ring. The gradient for each pixel is defined as the sum of the differences in intensity between each pixel and its surrounding eight neighbors. Those pixels having neighbors with similar intensity levels will have a low gradient while those pixels at the edge of the object will have a high gradient.

Once the gradients have been calculated for each pixel in the annular ring, the computer system divides the range of gradients into multiple thresholds and begins removing pixels having lower gradient values from the ring. To remove the pixels, the computer scans the object under consideration in a raster fashion. As shown in FIG. 7C, the raster scan begins at a point A and continues to the right until reaching a point B. During the first scan, only pixels on the outside edge, i.e., pixels on the edge region 242, are removed. The computer system then scans in the opposite direction by starting, for example, at point D and continuing upwards to point B returning in a raster fashion while only removing pixels on the inside edge region 244 of the annular ring. The computer system then scans in another orthogonal direction--for example, starting at point C and continuing in the direction of point D in a raster fashion, this time only removing pixels on the outside edge region 242. This process continues until no more pixels at that gradient threshold value can be removed.

Pixels are removed from the annular ring subject to the conditions that no pixel can be removed that would break the chain of pixels around the annular ring. Furthermore, adjacent pixels cannot be removed during the same pass of pixel removal. Once all the pixels are removed having a gradient that is less than or equal to the first gradient threshold, the threshold is increased and the process starts over. As shown in FIG. 7D, the pixel-by-pixel removal process continues until a single chain of pixels 240' encircles the object in question.

After locating the precise edge of an object, it is necessary to determine whether those pixels that comprise the edge should be included in the object. To do this, the intensity of each pixel that comprises the newly found edge is compared with its eight neighbors. As shown in FIG. 7E, for example, the intensity of a pixel 246 is compared with its eight surrounding pixels. If the intensity of pixel 246 is less than the intensity of pixel 250, then the pixel 246 is removed from the pixel chain as it belongs to the background. To complete the chain, pixels 248 and 252 are added so that the edge is not broken as shown in FIG. 7F. After completing the edge relocation algorithm and determining whether each pixel should be included in the object of interest, the system is ready to compute the feature values for the object.

Once the features have been calculated for each in-focus object, the computer system must make a determination whether the object is a cell nucleus that should be analyzed for malignancy-associated changes or is an artifact that should be ignored. As discussed above, the system removes obvious artifacts based on their area, shape (sphericity) and optical density. However, other artifacts may be more difficult for the computer to recognize. To further remove artifacts, the computer system uses a classifier that interprets the values of the features calculated for the object.

As shown in FIG. 8, a classifier 290 is a computer program that analyzes an object based on its feature values. To construct the classifier two databases are used. The first database 275 contains feature values of objects that have been imaged by the system shown in FIG. 1 and that have been previously identified by an expert pathologist as non-nuclei, i.e., artifacts. A second database 285 contains the features calculated for objects that have been imaged by the system and that have been previously identified by an expert as cell nuclei. The data in each of these databases is fed into a statistical computer program which uses a stepwise linear discriminant function analysis to derive a discriminant function that can distinguish cell nuclei from artifacts. The classifier is then constructed as a binary decision tree based on thresholds and/or the linear discriminant functions. The binary tree answers a series of questions based on the feature values to determine the identity of an object.

The particular thresholds used in the binary tree are set by statisticians who compare histograms of feature values calculated on known objects. For example, white blood cells typically have an area less than 50 μm². Because the present invention treats a red blood cell as an artifact, the binary decision tree can contain a node that compares the area of an object to the 50 μm² threshold. Objects with an area less than the threshold are ignored while those with an area having a greater area are further analyzed to determine if they are possible MAC cells or artifacts.

In the presently preferred embodiment of the invention, the discriminant functions that separate types of objects are generated by the BMDP program available from BMDP Statistical Software, Inc., of Los Angeles, Calif. Given the discriminant functions and the appropriate thresholds, the construction of the binary tree classifier is considered routine for one of ordinary skill in the art.

Once the binary tree classifier has been developed, it can be supplied with a set of feature values 292 taken from an unknown object and will provide an indication 294 of whether the object associated with the feature data is most likely an artifact or a cell nucleus.

FIG. 9 shows how a classifier is used to determine whether a slide exhibits malignancy-associated changes or not. The classifier 300 is constructed using a pair of databases. A first database 302 contains feature values obtained from apparently normal cells that have been imaged by the digital microscope system shown in FIG. 1 and are known to have come from healthy patients. A second database 304 contains feature values calculated from apparently normal cells that were imaged by the digital microscope system described above and were known to have come from abnormal (i.e., cancer) patients. Again, classifier 300 used in the presently preferred embodiment of the invention is a binary decision tree made up of discriminant functions and/or thresholds that can separate the two groups of cells. Once the classifier has been constructed, the classifier is fed with the feature values 306 that are obtained by imaging cells obtained from a patient whose condition is unknown. The classifier provides a determination 308 of whether the nuclei exhibit MACs or not.

FIG. 10 is a flow chart of the steps performed by the present invention to determine whether a patient potentially has cancer. Beginning at a step 325, the computer system recalls the features calculated for each in-focus nuclei on the slide. At a step 330, the computer system runs the classifier that identifies MACs based on these features. At a step 332, the computer system provides an indication of whether the nucleus in question is MAC-positive or not. If the answer to step 332 is yes, then an accumulator that totals the number of MAC-positive nuclei for the slide is increased at a step 334. At a step 336, the computer system determines whether all the nuclei for which features have been calculated have been analyzed. If not, the next set of features is recalled at step 338 and the process repeats itself. At a step 340, the computer system determines whether the frequency of MAC-positive cells on the slide exceeds a predetermined threshold. For example, in a particular preparation of cells (air dried, as is the practice in British Columbia, Canada) to detect cervical cancer, it has been determined that if the total number of MAC-positive epithelial cells divided by the total number of epithelial cells analyzed exceeds 0.45 per slide, then there is an 85% chance that the patient has or will develop cancer. If the frequency of cells exhibiting MACs exceeds the threshold, the computer system can indicate that the patient is healthy at step 342 or likely has or will develop cancer at step 344.

The threshold above which it is likely that a patient exhibiting MACs has or will develop cancer is determined by comparing the MAC scores of a large numbers of patients who did develop cancer and those who did not. As will be appreciated by those skilled in the art, the particular threshold used will depend on the type of cancer to be detected, the equipment used to image the cells, etc.

The MAC detection system of the present invention can also be used to determine the efficacy of cancer treatment. For example, patients who have had a portion of a lung removed as a treatment for lung cancer can be asked to provide a sample of apparently normal cells taken from the remaining lung tissue. If a strong MAC presence is detected, there is a high probability that the cancer will return. Conversely, the inventors have found that the number of MAC cells decreases when a cancer treatment is effective.

As described above, the ability of the present invention to detect malignancy-associated changes depends on the values of the features computed. The following is a list of the features that is currently calculated for each in-focus object.

I.2 Coordinate Systems, Jargon and Notation

Each image is a rectangular array of square pixels that contains within it the image of an (irregularly shaped) object, surrounded by background. Each pixel P_(ij) is an integer representing the photometric value (gray scale) of a corresponding small segment of the image, and may range from 0 (completely opaque) to 255 (completely transparent). The image rectangle is larger than the smallest rectangle that can completely contain the object by at least two rows, top and bottom, and two columns left and right, ensuring that background exists all around the object. The rectangular image is a matrix of pixels, P_(ij), spanning i=1, L columns and j=1, M rows and with the upper left-hand pixel as the coordinate system origin, i=j=1.

The region of the image that is the object is denoted by its characteristic function, Ω; this is also sometimes called the "object mask" or, simply, the "mask." For some features, it makes sense to dilate the object mask by one pixel all around the object; this mask is denoted Ω⁺. Similarly, an eroded mask is denoted Ω⁻. The object mask is a binary function: ##EQU1## and where "(i,j) .di-elect cons. object" means pixels at coordinates: (i, j) are part of the object, and "(i,j) .epsilon slash. object" means pixels at coordinates: (i, j) are not part of the object.

II Morphological Features

Morphological features estimate the image area, shape, and boundary variations of the object.

II.1 area

The area, A, is defined as the total number of pixels belonging to the object, as defined by the mask, Ω: ##EQU2## where i, j and Ω are defined in Section I.2 above. II.2 x₋₋ centroid, y₋₋ centroid

The x₋₋ centroid and y₋₋ centroid are the coordinates of the geometrical center of the object, defined with respect to the image origin (upper-left hand corner): ##EQU3## where i and j are the image pixel coordinates and Ω is the object mask, as defined in Section 1.2 above, and A is the object area.

II.3 mean₋₋ radius, max₋₋ radius

The mean₋₋ radius and max₋₋ radius features are the mean and maximum values of the length of the object's radial vectors from the object centroid to its 8 connected edge pixels: ##EQU4## where r_(k) is the k^(th) radial vector, and N is the number of 8 connected pixels on the object edge.

II.4 var₋₋ radius

The var₋₋ radius feature is the variance of length of the object's radius vectors, as defined in Section II.3. ##EQU5## where r_(k) is the k^(th) radius vector, r is the mean₋₋ radius, and N is the number of 8 connected edge pixels.

II.5 sphericity

The sphericity feature is a shape measure, calculated as a ratio of the radii of two circles centered at the object centroid (defined in Section II.2 above). One circle is the largest circle that is fully inscribed inside the object perimeter, corresponding to the absolute minimum length of the object's radial vectors. The other circle is the minimum circle that completely circumscribes the object's perimeter, corresponding to the absolute maximum length of the object's radial vectors. The maximum sphericity value: 1 is given for a circular object: ##EQU6## where r_(k) is the k^(th) radius vector. II.6 eccentricity

The eccentricity feature is a shape function calculated as the square root of the ratio of maximal and minimal eigenvalues of the second central moment matrix of the object's characteristic function, Ω: ##EQU7## where λ₁ and λ₂ are the maximal and minimal eigenvalues, respectively, and the characteristic function, Ω, as given by Equation 1. The second central moment matrix is calculated as: ##EQU8## Eccentricity may be interpreted as the ratio of the major axis to minor axis of the "best fit" ellipse which describes the object, and gives the minimal value 1 for circles.

II.7 inertia₋₋ shape

The inertia₋₋ shape feature is a measure of the "roundness" of an object calculated as the moment of inertia of the object mask, normalized by the area squared, to give the minimal value 1 for circles: ##EQU9## where R_(i),j is the distance of the pixel, P_(i),j, to the object centroid (defined in Section II.2), and A is the object area, and Ω is the mask defined by Equation 1.

II.8 compactness

The compactness feature is another measure of the object's "roundness." It is calculated as the perimeter squared divided by the object area, giving the minimal value 1 for circles: ##EQU10## where P is the object perimeter and A is the object area. Perimeter is calculated from boundary pixels (which are themselves 8 connected) by considering their 4 connected neighborhood: ##EQU11## where N₁ is the number of pixels on the edge with 1 non-object neighbor, N₂ is the number of pixels on the edge with 2 non-object neighbors, and N₃ is the number of pixels on the edge with 3 non-object neighbors.

II.9 cell₋₋ orient

The cell₋₋ orient feature represents the object orientation measured as a deflection of the main axis of the object from they direction: ##EQU12## where y_(moment2) and xy_(crossmoment2) are the second central moments of the characteristic function Ω defined by Equation 1 above, and λ₁ is the maximal eigenvalue of the second central moment matrix of that function (see Section II.6 above). The main axis of the object is defined by the eigenvector corresponding to the maximal eigenvalue. A geometrical interpretation of the cell₋₋ orient is that it is the angle (measured in a clockwise sense) between they axis and the "best fit" ellipse major axis.

For slides of cell suspensions, this feature should be meaningless, as there should not be any a priori preferred cellular orientation. For histological sections, and possibly smears, this feature may have value. In smears, for example, debris may be preferentially elongated along the slide long axis.

II.10 elongation

Features in Sections II.10 to II.13 are calculated by sweeping the radius vector (from the object centroid, as defined in Section II.2, to object perimeter) through 128 discrete equal steps (i.e., an angle of 2π/128 per step), starting at the top left-most object edge pixel, and sweeping in a clockwise direction. The function is interpolated from an average of the object edge pixel locations at each of the 128 angles.

The elongation feature is another measure of the extent of the object along the principal direction (corresponding to the major axis) versus the direction normal to it. These lengths are estimated using Fourier Transform coefficients of the radial function of the object: ##EQU13## where a₂,b₂ are Fourier Transform coefficients of the radial function of the object, r(θ), defined by: ##EQU14## II.11 freq₋₋ low₋₋ fft

The freq₋₋ low₋₋ fft gives an estimate of coarse boundary variation, measured as the energy of the lower harmonics of the Fourier spectrum of the object's radial function (from 3rd to 11th harmonics): ##EQU15## where a_(n),b_(n) are Fourier Transform coefficients of the radial function, defined in Equation 16.

II.12 freq₋₋ high₋₋ fft

The freq₋₋ high₋₋ fft gives an estimate of the fine boundary variation, measured as the energy of the high frequency Fourier spectrum (from 12th to 32nd harmonics) of the object's radial function: ##EQU16## where a_(n),b_(n) are Fourier Transform coefficients of the n^(th) harmonic, defined by Equation 16.

II.13 harmon01₋₋ fft, . . . , harmon32₋₋ fft

The harmon01₋₋ fft, . . . harmon32₋₋ fft features are estimates of boundary variation, calculated as the magnitude of the Fourier Transform coefficients of the object radial function for each harmonic 1-32: ##EQU17## where a_(n),b_(n) are Fourier Transform coefficients of the n^(th) harmonic, defined by Equation 16.

III Photometric Features

Photometric features give estimations of absolute intensity and optical density levels of the object, as well as their distribution characteristics.

III.1 DNA₋₋ Amount

DNA₋₋ Amount is the "raw" (unnormalized) measure of the integrated optical density of the object, defined by a once dilated mask, Ω⁺ : ##EQU18## where the once dilated mask, Ω⁺ is defined in Section I.2 and OD is the optical density, calculated according to 12!:

    OD.sub.i,j =log.sub.10 I.sub.B -log.sub.10 I.sub.i,j       (21)

where I_(B) is the intensity of the local background, and I_(i),j is the intensity of the i,j th pixel.

III.2 DNA₋₋ Index

DNA₋₋ Index is the normalized measure of the integrated optical density of the object: ##EQU19## where iod_(norm) is the mean value of the DNA amount for a particular object population from the slide (e.g., leukocytes).

III.3 var₋₋ intensity, mean₋₋ intensity

The var₋₋ intensity and mean₋₋ intensity features are the variance and mean of the intensity function of the object, I, defined by the mask, Ω: ##EQU20## where A is the object area, Ω is the object mask defined in Equation 1, and I is given by: ##EQU21## I is the "raw" (unnormalized) mean intensity mean intensity is normalized against iod_(norm) defined in Section III.2: ##EQU22## III.4 OD₋₋ maximum OD₋₋ maximum is the largest value of the optical density of the object, normalized to iod_(norm), as defined in Section III.2 above: ##EQU23## III.5 OD₋₋ variance

OD₋₋ variance is the normalized variance (second moment) of optical density function of the object: ##EQU24## where Ω is the object mask as defined in Section 1.2, OD is the mean value of the optical density of the object: ##EQU25## and A is the object area (total number of pixels). The variance is divided by the square of the mean optical density in order to make the measurement independent of the staining intensity of the cell.

III.6 OD₋₋ skewness

The OD₋₋ skewness feature is the normalized third moment of the optical density function of the object: ##EQU26## where Ω is the object mask as defined in Section 1.2, OD is the mean value of the optical density of the object and A is the object area (total number of pixels).

III.7 OD₋₋ kurtosis

OD₋₋ kurtosis is the normalized fourth moment of the optical density function of the object: ##EQU27## where Ω is the object mask as defined in Section 1.2, OD is the mean value of the optical density of the object and A is the object area.

IV Discrete Texture Features

The discrete texture features are based on segmentation of the object into regions of low, medium and high optical density. This segmentation of the object into low, medium and high density regions is based on two thresholds: optical density high threshold and optical density medium threshold. These thresholds are scaled to the sample's iod_(norm) value, based on the DNA amount of a particular subset of objects (e.g., lymphocytes), as described in Section III.2 above.

By default, these thresholds have been selected such that the condensed chromatin in leukocytes is high optical density material. The second threshold is located halfway between the high threshold and zero.

The default settings from which these thresholds are calculated are stored in the computer as:

CHROMATIN₋₋ HIGH₋₋ THRES=36

CHROMATIN₋₋ MEDIUM₋₋ THRES=18

A^(high) is the area of the pixels having an optical density between 0 and 18, A^(med) is the area of the pixels having an optical density between 18 and 36 and A^(low) is the area of the pixels having an optical density greater than 36. Together the areas A^(high), A^(med) and A^(low) sum to the total area of the object. The actual thresholds used are these parameters, divided by 100, and multiplied by the factor iod_(norm) /100.

In the following discussion, Ω^(low), Ω^(med), and Ω^(high) are masks for low-, medium-, and high-optical density regions of the object, respectively, defined in analogy to Equation 1.

IV.1 lowDNAarea, medDNAarea, hiDNAarea

These discrete texture features represent the ratio of the area of low, medium, and high optical density regions of the object to the total object area: ##EQU28## where Ω is the object mask as defined in Equation 1, and A is the object area.

IV.2 lowDNAamnt, medDNAamnt, hiDNAamnt

These discrete texture features represent the total extinction ratio for low, medium, and high optical density regions of the object, calculated as the value of the integrated optical density of the low-, medium-, and high-density regions, respectively, divided by the total integrated optical density: ##EQU29## where Ω is the object mask as defined in Equation 1, and OD is the optical density as defined by Equation 21.

IV.3 lowDNAcomp, medDNAcomp, hiDNAcomp, mhDNAcomp

These discrete texture features are characteristic of the compactness of low-, medium-, high-, and combined medium- and high-density regions, respectively, treated as single (possibly disconnected) objects. They are calculated as the perimeter squared of each region, divided by 4π (area) of the region. ##EQU30## where P is the perimeter of each of the optical density regions, defined in analogy to Equation 13, and A is the region area, defined in analogy to Equation 2.

IV.4 low₋₋ av₋₋ dst, med₋₋ av₋₋ dst, hi₋₋ av₋₋ dst, mh₋₋ av₋₋ dst

These discrete texture features represent the average separation between the low-, medium-, high-, and combined medium- and high-density pixels from the center of the object, normalized by the object mean₋₋ radius. ##EQU31## where R_(i),j is defined in Section II.7 as the distance from pixel P_(i),j to the object centroid (defined in Section II.2), and the object mean₋₋ radius is defined by Equation 5.

IV.5 lowVSmed₋₋ DNA, lowVShigh₋₋ DNA, lowVSmh₋₋ DNA

These discrete texture features represent the average extinction ratios of the low- density regions, normalized by the medium-, high-, and combined medium- and high-average extinction values, respectively. They are calculated as the mean optical density of the medium-, high-, and combined medium- and high-density clusters divided by the mean optical density of the low density clusters. ##EQU32## where OD is the region optical density defined in analogy to Equation 21, Ω is the region mask, defined in analogy to Equation 1, and A is the region area, defined in analogy to Equation 2.

IV.6 low₋₋ den₋₋ obj, med₋₋ den₋₋ obj, high₋₋ den₋₋ obj

These discrete texture features are the numbers of discrete 8-connected subcomponents of the objects consisting of more than one pixel of low, medium, and high density.

IV.7 low₋₋ cntr₋₋ mass, med₋₋ cntr₋₋ mass, high₋₋ cntr₋₋ mass

These discrete texture features represent the separation between the geometric center of the low, medium, and high optical density clusters (treated as if they were single objects) and the geometric center of the whole object, normalized by its mean₋₋ radius. ##EQU33## where mean₋₋ radius of the object is defined by Equation 5, the object's centroid is defined in Section II.2, Ω is the region mask defined in analogy to Equation 1, and A is the region area defined in analogy to Equation 2.

V Markovian Texture Features

Markovian texture features are defined from the co-occurrence matrix, Δ.sub.λ,μ of object pixels. Each element of that matrix stands for the conditional probability of the pixel of grey level λ occurring next (via 8-connectedness) to a pixel of grey level μ, where λ, μ are row and column indices of the matrix, respectively. However, the computational algorithms used here for the calculation of Markovian texture features uses so-called sum and difference histograms: H_(l) ^(s) and H_(m) ^(d),, where H_(l) ^(s) is the probability of neighboring pixels having grey levels which sum to 1, and H_(m) ^(d) is the probability of neighboring pixels having grey level differences of m, where an 8-connected neighborhood is assumed. Values of grey levels, 1, m, used in the sum and difference histogram are obtained by quantization of the dynamic range of each individual object into 40 levels.

For completeness, the formulae that follow for Markovian texture features include both the conventional formulae and the computational formulae actually used.

V.1 entropy

The entropy feature represents a measure of "disorder" in object grey level organization: large values correspond to very disorganized distributions, such as a "salt and pepper" random field: ##EQU34## V.2 energy

The energy feature gives large values for an object with a spatially organized grey scale distribution. It is the opposite of entropy, giving large values to an object with large regions of constant grey level: ##EQU35## V.3 contrast

The contrast feature gives large values for an object with frequent large grey scale variations: ##EQU36## V.4 correlation

A large value for correlation indicates an object with large connected subcomponents of constant grey level and with large grey level differences between adjacent components: ##EQU37## where I^(q) is the mean intensity of the object calculated for the grey scale quantized to 40 levels.

V.5 homogeneity

The homogeneity feature is large for objects with slight and spatially smooth grey level variations: ##EQU38## V.6 cl₋₋ shade

The cl₋₋ shade feature gives large absolute values for objects with a few distinct clumps of uniform intensity having large contrast with the rest of the object. Negative values correspond to dark clumps against a light background while positive values indicate light clumps against a dark background: ##EQU39## V.7 cl₋₋ prominence

The feature cl₋₋ prominence measures the darkness of clusters. ##EQU40## VI Non-Markovian Texture Features

These features describe texture in terms of global estimation of grey level differences of the object.

VI.1 den₋₋ lit₋₋ spot, den₋₋ drk₋₋ spot

These are the numbers of local maxima and local minima, respectively, of the object intensity function based on the image averaged by a 3×3 window, and divided by the object area. ##EQU41## and I is the object intensity, Ω is the object mask, and A is the object area.

VI.2 range₋₋ extreme

This is the intensity difference between the largest local maximum and the smallest local minimum of the object intensity function, normalized against the slide DNA amount, iod_(norm), defined in Section III.2. The local maxima, max_(i'),j' and minima, min_(i'),j', are those in Section VI.1 above. ##EQU42## VI.3 range₋₋ average

This is the intensity difference between the average intensity of the local maxima and the average intensity of the local minima, normalized against the slide DNA amount value, iod_(norm), defined in Section III.2 above. The local maxima, max_(i'),j' and minima, min_(i'),j', values used are those from Section VI.1 above. ##EQU43## VI.4 center₋₋ of₋₋ gravity

The center₋₋ of₋₋ gravity feature represents the distance from the geometrical center of the object to the "center of mass" of the optical density function, normalized by the mean₋₋ radius of the object: ##EQU44##

This gives a measure of the nonuniformity of the OD distribution.

VII Fractal Texture Features

The fractal texture features are based on the area of the three-dimensional surface of the object's optical density represented essentially as a three-dimensional bar graph, with the vertical axis representing optical density, and the horizontal axes representing the x and y spatial coordinates. Thus, each pixel is assigned a unit area in the x-y plane plus the area of the sides of the three-dimensional structure proportional to the change in the pixel optical density with respect to its neighbors. The largest values of fractal areas correspond to large objects containing small subcomponents with high optical density variations between them.

The difference between fractal1₋₋ area and fractal2₋₋ area is that these features are calculated on different scales: the second one is based on an image in which four pixels are averaged into a single pixel, thereby representing a change of scale of fractal1₋₋ area. This calculation needs the additional mask transformation: Ω_(i2),j2 represents the original mask Ω with 4 pixels mapped into one pixel and any square of 4 pixels not completely consisting of object pixels is set to zero. Ωi,j represents Ω_(i2),j2 expanded by 4 so that each pixel in Ω_(i2),j2 is 4 pixels in Ωi,j.

VII.1 fractal1₋₋ area ##EQU45## where OD*_(i),j is the optical density function of the image scaled by a factor common to all images such that the possible optical density values span 256 levels.

VII.2 fractal2₋₋ area

This is another fractal dimension, but based on an image in which four pixel squares are averaged into single pixels, thereby representing a change of scale of fractal1₋₋ area in Section VII.1 above. ##EQU46## where, ##EQU47## with L₂, M₂ as integers, and OD*_(i2),j2 is a scaled optical density function of the image, with 4 pixels averaged into one.

VII.3 fractal₋₋ dimen

The fractal₋₋ dimen feature is calculated as the difference between logarithms of fractal1₋₋ area and fractal2₋₋ area, divided by log 2. This varies from 2 to 3 and gives a measure of the "fractal behavior" of the image, associated with a rate at which measured surface area increases at finer and finer scales. ##EQU48## VIII Run Length Texture Features

Run length features describe texture in terms of grey level runs, representing sets of consecutive, collinear pixels having the same grey level value. The length of the run is the number of pixels in the run. These features are calculated over the image with intensity function values transformed into 8 levels.

The run length texture features are defined using grey level length matrices, _(p),q.sup.Θ for each of the four principal directions: θ=0°, 45°, 90°, 135°, where the directions are defined clockwise with respect to the positive x-axis. Note: As defined here, the run length texture features are not rotationally invariant, and therefore cannot, in general, be used separately since for most samples there will be no a priori preferred direction for texture. For example, for one cell, a run length feature may be oriented at 45°, but at 90° in the next; in general, these are completely equivalent. Each element of matrix _(p),q.sup.Θ specifies the number of times that the object contains a run of length q, in a given direction, Θ, consisting of pixels lying in grey level range, p (out of 8 grey levels). Let N^(g) =8 be the number of grey levels, and N^(r) be the number of different run lengths that occur in the object; then the run length features are described as follows:

VIII.1 short0₋₋ runs, short45₋₋ runs, short90₋₋ runs, short135₋₋ runs

These give large values for objects in which short runs, oriented at 0°, 45°, 90°, or 135°, dominate. ##EQU49## VIII.2 long0₋₋ runs, long45₋₋ runs, long90₋₋ runs, long135₋₋ runs

These give large values for objects in which long runs, oriented at 0°, 45°, 90°, or 135°, dominate. ##EQU50## VIII.3 grey0₋₋ level, grey45₋₋ level, grey90₋₋ level, grey135₋₋ level

These features estimate grey level nonuniformity, taking on their lowest values when runs are equally distributed throughout the grey levels. ##EQU51## VIII.4 run0₋₋ length, run45₋₋ length, run90₋₋ length, run135₋₋ length

These features estimate the nonuniformity of the run lengths, taking on their lowest values when the runs are equally distributed throughout the lengths. ##EQU52## VIII.5 run0₋₋ percent, run45₋₋ percent, run90₋₋ percent, run135₋₋ percent

These features are calculated as the ratio of the total number of possible runs to the object's area, having its lowest value for pictures with the most linear structure. ##EQU53## where A is the object's area. VIII.6 texture₋₋ orient

This feature estimates the dominant orientation of the object's linear texture. ##EQU54## where λ'₁ is the maximal eigenvalue of the run length pseudo-second moment matrix (calculated in analogy to Section II.9). The run length pseudo-second moments are calculated as follows: ##EQU55##

Orientation is defined as it is for cell₋₋ orient, SectionII.9, as the angle (measured in a clockwise sense) between the y axis and the dominant orientation of the image's linear structure.

VIII.7 size₋₋ txt₋₋ orient

This feature amplifies the texture orientation for long runs. ##EQU56## where λ'₁,λ'₂ are the maximal and minimal eigenvalues of the run₋₋ length pseudo-second moment matrix, defined in Section VIII.6.

Each of the above features are calculated for each in-focus object located in the image. Certain features are used by the classifier to separate artifacts from cell nuclei and to distinguish cells exhibiting MACs from normal cells. As indicated above, it is not possible to predict which features will be used to distinguish artifacts from cells or MAC cells from non-MAC cells, until the classifier has been completely trained and produces a binary decision tree or linear discriminant function.

In the present embodiment of the invention, it has been determined that thirty (30) of the above-described features appear more significant in separating artifacts from genuine nuclei and identifying cells with MACs. These primarily texture features are as follows:

    ______________________________________     30 preferred nuclear features     ______________________________________     1) Area    11) high DNA amount                                 21) run 90 percent     2) mean radius                12) high average distance                                 22) run 135 percent     3) OD variance                13) mid/high average distance                                 23) grey level 0     4) OD skewness                14) correlation  24) grey level 45     5) range average                15) homogeneity  25) grey level 90     6) OD maximum                16) entropy      25) grey level 135     7) density of light                17) fractal dimension                                 27) run length 0     spots     8) low DNA area                18) DNA index    28) run length 45     9) high DNA area                19) run 0 percent                                 29) run length 90     10) low DNA                20) run 45 percent                                 30) run length 135     amount     ______________________________________

Although these features have been found to have the best ability to differentiate between types of cells, other object types may be differentiated by the other features described above.

As indicated above, the ability of the system according to the present invention to distinguish cell nuclei from artifacts or cells that exhibit MACs from those that do not depends on the ability of the classifier to make distinctions based on the values of the features computed. For example, to separate cell nuclei from artifacts, the present invention may apply several different discriminant functions each of which is trained to identify particular types of objects. For example, the following discriminant function has been used in the presently preferred embodiment of the invention to separate intermediate cervical cells from small picnotic objects:

    ______________________________________                   cervical cells                              picnotic     ______________________________________     max.sub.-- radius                     4.56914      3.92899     freq.sub.-- low.sub.-- fft                     -.03624      -.04714     harmon03.sub.-- fft                     1.29958      1.80412     harmon04.fft    .85959       1.20653     lowVSmed.sub.-- DNA                     58.83394     61.84034     energy          6566.14355   6182.17139     correlation     .56801       .52911     homogeneity     -920.05017   -883.31567     cl.sub.-- shade -67.37746    -63.68423     den.sub.-- drk.sub.-- spot                     916.69360    870.75739     CONSTANT        -292.92908   -269.42419     ______________________________________

Another discriminant function that can separate cells from junk particles is:

    ______________________________________                  cells      junk     ______________________________________     eccentricity   606.67365    574.82507     compactness    988.57196    1013.19745     freq.sub.-- low.sub.-- fft                    -2.57094     -2.51594     freq.sub.-- high.sub.-- fft                    -28.93165    -28.48727     harmon02.fft   -31.30210    -30.18383     harmon03.fft   14.40738     14.30784     medDNAamnt     39.28350     37.50647     correlation    .27381       .29397     CONSTANT       -834.57800   -836.19659     ______________________________________

Yet a third discriminant function that can separate folded cells that should be ignored from suitable cells for analysis.

    ______________________________________                  normal interm                             rejected objects     ______________________________________     sphericity     709.66357    701.85864     eccentricity   456.09146    444.18469     compactness    1221.73840   1232.27441     elongation     -391.76352   -387.19376     freq.sub.-- high.sub.-- fft                    -37.89624    -37.39510     lowDNAamnt     -41.89951    -39.42714     low.sub.-- den.sub.-- obj                    1.40092      1.60374     correlation    .26310       .29536     range.sub.-- average                    .06601       .06029     CONSTANT       -968.73628   -971.18219     ______________________________________

Obviously, the particular linear discriminant function produced by the classifier will depend on the type of classifier used and the training sets of cells. The above examples are given merely for purposes of illustration.

As can be seen, the present invention is a system that automatically detects malignancy-associated changes in a cell sample. By properly staining and imaging a cell sample, the features of each object found on the slide can be determined and used to provide an indication whether the patient from which the cell sample was obtained is normal or abnormal. In addition, MACs provide an indication of whether cancer treatment given is effective as well as if a cancer is in remission.

While the preferred embodiment of the invention has been illustrated and described, it will be appreciated that various changes can be made therein without departing from the spirit and scope of the invention. 

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
 1. A method of detecting malignancy-associated changes in a cell sample, comprising the steps of:obtaining a cell sample; staining the sample to identify cell nuclei within the sample; obtaining an image of the cell sample with a digital microscope of the type that includes a digital CCD camera and a programmable slide stage; focusing the image; identifying objects in the image, each of the objects having an edge that separates the object from the background, by: identifying an edge of the object by:creating an annular ring that surrounds the object by dilating-the edge of the object to define an outer edge of the annular ring and eroding the edge of the object to define an inner edge of the annular ring; calculating a gradient value of each pixel in the annular ring; and removing pixels from the annular ring having lower gradients until the annular ring comprises a single pixel chain that encircles the object; calculating a set of feature values for each object; and analyzing the feature values to determine whether each object is a cell nucleus having malignancy-associated changes.
 2. The method of claim 1, wherein the step of calculating one or more features of the set of feature values further comprises the step of:dilating or contracting the true edge of the object before calculating the features.
 3. A method of detecting malignancy-associated changes in a cell sample, comprising the steps of:obtaining a cell sample; staining the sample to identify cell nuclei within the sample; obtaining an image of the cell sample with a digital microscope of the type that includes a digital CCD camera and a programmable slide stage; focusing the image, the image being stored in the memory of a computer; identifying objects in the image; adjusting the local focus of each object by obtaining a series of images at different stage positions; for each object, selecting the image where the focus of the object is best; overwriting the memory of the computer with the image of each object at its best focus; compensating the image for variations in illumination intensity of a light source of the digital microscope by:reading a test image obtained from a blank slide in the digital microscope; subtracting the intensity value of each pixel of the test image from a corresponding pixel in the image of the cell sample; determining the average intensity of the pixels in the test image; and adding the average intensity to each pixel of the image obtained from the cell sample; calculating a set of feature values for each object; and analyzing the feature values to determine whether each object is a cell nucleus having malignancy-associated changes.
 4. The method of claim 3, further comprising the step of compensating for local absorbency around the object by:determining an average pixel intensity for a group of pixels near the object; and subtracting the average pixel intensity for the group of pixels near the object from each pixel that is included in the object.
 5. The method of claim 4, wherein the group of pixels near the object are defined by a square boundary having an area slightly greater than an area of the object.
 6. The method of claim 1, further comprising the steps of:removing artifacts from the image by calculating the area, shape and optical density for each object; and removing from the image any object with an area >2,000 square microns, any objects with a shape or sphericity greater than 4 and an optical density greater than 1c.
 7. The method of claim 1, wherein the features used to separate cell nuclei having malignancy-associated changes from nuclei not having malignancy-associated changes are selected from the group comprising:

    ______________________________________     1) Area    11) high DNA amount                                 21) run 90 percent     2) mean radius                12) high average distance                                 22) run 135 percent     3) OD variance                13) mid/high average distance                                 23) grey level 0     4) OD skewness                14) correlation  24) grey level 45     5) range average                15) homogeneity  25) grey level 90     6) OD maximum                16) entropy      25) grey level 135     7) density of light                17) fraetal dimension                                 27) run length 0     spots     8) low DNA area                18) DNA index    28) run length 45     9) high DNA area                19) run 0 percent                                 29) run length 90     10) low DNA                20) run 45 percent                                 30) run length 135     amount     ______________________________________


8. The method of claim 3, further comprising the steps of:removing artifacts from the image by calculating the area, shape and optical density for each object; and removing from the image any object with an area >2,000 square microns, any objects with a shape or sphericity greater than 4 and an optical density greater than 1c.
 9. The method of claim 3, wherein the features used to separate cell nuclei having malignancy-associated changes from nuclei not having malignancy-associated changes are selected from the group comprising:

    ______________________________________     1) Area    11) high DNA amount                                 21) run 90 percent     2) mean radius                12) high average distance                                 22) run 135 percent     3) OD variance                13) mid/high average distance                                 23) grey level 0     4) OD skewness                14) correlation  24) grey level 45     5) range average                15) homogeneity  25) grey level 90     6) OD maximum                16) entropy      25) grey level 135     7) density of light                17) fractal diniension                                 27) run length 0     spots     8) low DNA area                18) DNA index    28) run length 45     9) high DNA area                19) run 0 percent                                 29) run length 90     10) low DNA                20) run 45 percent                                 30) run length 135     amount     ______________________________________ 